<?php
	class uNote extends Module {
		public function init() {
			parent::init();
		
			if (!$this->session->ouverte()) {
				$this->site->redirect('index');
			}
		}
	
		public function action_index() {
			$this->tpl->assign('notes', Note::recupererAvecNoEtudiant($this->session->user->noEtudiant));
			$this->set_title('SAN - Notes');
		}
	}
?>